configuration /
network /
interfaces /
vif[ID] /
cluster
CLI REST-API
netmask
netmask
This is a read-write object and valid values are IPv4-subnetmasks.
Datatype-Help:
the ip-subnet-address should looks like this: A.B.C.D
or use a single number for the number of bits to be set to 1.
a subnet mask is used to get the network-address from an IP address.
example: 255.255.128.0
those 4 numbers should be imagined as bits
on this example the bits are: 11111111.11111111.10000000.00000000
on the left side must begin with 1's
on the right side must end with 0's
See also:
/configuration/network/interfaces/vif[ID]/cluster
/configuration/network/interfaces/vif[ID]/cluster/enable-cluster
/configuration/network/interfaces/vif[ID]/cluster/mode
/configuration/network/interfaces/vif[ID]/cluster/ip-address
/configuration/network/interfaces/vif[ID]/cluster/priority
REST-API Support:
This object is supported by the REST API:
Method: GET
URL: /api/configuration/network/interfaces/vif.*/cluster
Example using curl:
curl /api/configuration/network/interfaces/vif.*/cluster
Method: PATCH
URL: /api/configuration/network/interfaces/vif.*/cluster
Body:
{
"netmask": "0.0.0.0"
}
Example using curl:
curl -X PATCH /api/configuration/network/interfaces/vif.*/cluster -d
{
"netmask": "0.0.0.0"
}